package com.incar.chuxing.bean;

import java.util.List;

/**
 * Created by Michael on 7/17.
 */

public class PostNewBean {

    /**
     * msg_code : 200
     * message :
     * data : [{"id":"5be0fe84b91e64b537f0264f","name":"123","cover":"","link":"","cities":["236","137"],"online_time":1541483161,"offline_time":1542483161,"status":1,"created_at":"2018-11-06T02:37:56.419Z","updated_at":"2018-11-06T05:29:19.571Z"}]
     */

    private int msg_code;
    private String message;
    private List<DataBean> data;

    public int getMsg_code() {
        return msg_code;
    }

    public void setMsg_code(int msg_code) {
        this.msg_code = msg_code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 5be0fe84b91e64b537f0264f
         * name : 123
         * cover :
         * link :
         * cities : ["236","137"]
         * online_time : 1541483161
         * offline_time : 1542483161
         * status : 1
         * created_at : 2018-11-06T02:37:56.419Z
         * updated_at : 2018-11-06T05:29:19.571Z
         */

        private String id;
        private String name;
        private String cover;
        private String link;
        private int online_time;
        private int offline_time;
        private int status;
        private String created_at;
        private String updated_at;
        private List<String> cities;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getCover() {
            return cover;
        }

        public void setCover(String cover) {
            this.cover = cover;
        }

        public String getLink() {
            return link;
        }

        public void setLink(String link) {
            this.link = link;
        }

        public int getOnline_time() {
            return online_time;
        }

        public void setOnline_time(int online_time) {
            this.online_time = online_time;
        }

        public int getOffline_time() {
            return offline_time;
        }

        public void setOffline_time(int offline_time) {
            this.offline_time = offline_time;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getCreated_at() {
            return created_at;
        }

        public void setCreated_at(String created_at) {
            this.created_at = created_at;
        }

        public String getUpdated_at() {
            return updated_at;
        }

        public void setUpdated_at(String updated_at) {
            this.updated_at = updated_at;
        }

        public List<String> getCities() {
            return cities;
        }

        public void setCities(List<String> cities) {
            this.cities = cities;
        }
    }
}
